package main.java.maziacs.squares;

import main.java.maziacs.ITile;
import main.java.maziacs.counters.Treasure;


public class EndSquare extends Circle {

	private Treasure treasure;
	public EndSquare(ITile t){
		super(t);
		setTreasure(new Treasure(t.getBoard()));
	}
	public Boolean containsTreasure() {
		return !treasure.equals(null);
	}
	
	public void setTreasure(Treasure treasure) {
		this.treasure = treasure;
	}
	public Treasure getTreasure() {
		return treasure;
	}
	
	public String toString(){
		return super.toString();
	}
}
